<!DOCTYPE html>
<html lang="en" class="app">
<head>
  <meta charset="utf-8" />
  <title>Musik | Web Application</title>
  <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <link rel="stylesheet" href="/static/home/js/jPlayer/jplayer.flat.css" type="text/css" />
  <link rel="stylesheet" href="/static/home/css/bootstrap.css" type="text/css" />
  <link rel="stylesheet" href="/static/home/css/animate.css" type="text/css" />
  <link rel="stylesheet" href="/static/home/css/font-awesome.min.css" type="text/css" />
  <link rel="stylesheet" href="/static/home/css/simple-line-icons.css" type="text/css" />
  <link rel="stylesheet" href="/static/home/css/font.css" type="text/css" />
  <link rel="stylesheet" href="/static/home/css/app.css" type="text/css" />
  <!--[if lt IE 9]>
  <script src="/static/home/js/ie/html5shiv.js"></script>
  <script src="/static/home/js/ie/respond.min.js"></script>
  <script src="/static/home/js/ie/excanvas.js"></script>
  <![endif]-->
</head>
<body class="">
<section class="vbox">
  <header class="bg-white-only header header-md navbar navbar-fixed-top-xs">
    <div class="navbar-header aside bg-info nav-xs">
      <a class="btn btn-link visible-xs" data-toggle="class:nav-off-screen,open" data-target="#nav,html">
        <i class="icon-list"></i>
      </a>
      <a href="{:url('home/Index/Index')}" class="navbar-brand text-lt">
        <i class="icon-earphones"></i>
        <img src="/static/home/images/logo.png" alt="." class="hide">
        <span class="hidden-nav-xs m-l-sm">Musik</span>
      </a>
      <a class="btn btn-link visible-xs" data-toggle="dropdown" data-target=".user">
        <i class="icon-settings"></i>
      </a>
    </div>      <ul class="nav navbar-nav hidden-xs">
    <li>
      <a href="#nav,.navbar-header" data-toggle="class:nav-xs,nav-xs" class="text-muted">
        <i class="fa fa-indent text"></i>
        <i class="fa fa-dedent text-active"></i>
      </a>
    </li>
  </ul>
    <form class="navbar-form navbar-left input-s-lg m-t m-l-n-xs hidden-xs" role="search">
      <div class="form-group">
        <div class="input-group">
            <span class="input-group-btn">
              <button type="submit" class="btn btn-sm bg-white btn-icon rounded"><i class="fa fa-search"></i></button>
            </span>
          <input type="text" class="form-control input-sm no-border rounded" placeholder="Search songs, albums...">
        </div>
      </div>
    </form>
    <div class="navbar-right ">
      <ul class="nav navbar-nav m-n hidden-xs nav-user user">
        <li class="hidden-xs">
          <a href="#" class="dropdown-toggle lt" data-toggle="dropdown">
            <i class="icon-bell"></i>
            <span class="badge badge-sm up bg-danger count">2</span>
          </a>
          <section class="dropdown-menu aside-xl animated fadeInUp">
            <section class="panel bg-white">
              <div class="panel-heading b-light bg-light">
                <strong>You have <span class="count">2</span> notifications</strong>
              </div>
              <div class="list-group list-group-alt">
                <a href="#" class="media list-group-item">
                    <span class="pull-left thumb-sm">
                      <img src="/static/home/images/a0.png" alt="..." class="img-circle">
                    </span>
                  <span class="media-body block m-b-none">
                      Use awesome animate.css<br>
                      <small class="text-muted">10 minutes ago</small>
                    </span>
                </a>
                <a href="#" class="media list-group-item">
                    <span class="media-body block m-b-none">
                      1.0 initial released<br>
                      <small class="text-muted">1 hour ago</small>
                    </span>
                </a>
              </div>
              <div class="panel-footer text-sm">
                <a href="#" class="pull-right"><i class="fa fa-cog"></i></a>
                <a href="#notes" data-toggle="class:show animated fadeInRight">See all the notifications</a>
              </div>
            </section>
          </section>
        </li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle bg clear" data-toggle="dropdown">
              <span class="thumb-sm avatar pull-right m-t-n-sm m-b-n-sm m-l-sm">
                <img src="/static/home/images/a0.png" alt="...">
              </span>
            John.Smith <b class="caret"></b>
          </a>
          <ul class="dropdown-menu animated fadeInRight">
            <li>
              <span class="arrow top"></span>
              <a href="#">Settings</a>
            </li>
            <li>
              <a href="{:url('home/User/Friend')}">好友列表</a>
            </li>
            <li>
              <a href="#">
                <span class="badge bg-danger pull-right">3</span>
                Notifications
              </a>
            </li>
            <li>
              <a href="docs.html">Help</a>
            </li>
            <li class="divider"></li>
            <li>
              <a href="modal.lockme.html" data-toggle="ajaxModal" >Logout</a>
            </li>
          </ul>
        </li>
      </ul>
    </div>
  </header>
  <!-- 头部结束 -->
  {block name="biaoqian"}
  <section>
    <section class="hbox stretch">
      {/block}
      <!-- .aside -->
      <!-- 右边导航 -->
      <aside class="bg-black dk nav-xs aside hidden-print" id="nav">
        <section class="vbox">
          <section class="w-f-md scrollable">
            <div class="slim-scroll" data-height="auto" data-disable-fade-out="true" data-distance="0" data-size="10px" data-railOpacity="0.2">



              <!-- nav -->
                <nav class="nav-primary hidden-xs">
                    <ul class="nav bg clearfix">
                        <li class="hidden-nav-xs padder m-t m-b-sm text-xs text-muted">
                            Discover
                        </li>
                        <li>
                            <a href="{:url('home/Index/Index')}">
                                <i class="icon-disc icon text-success"></i>
                                <span class="font-bold">首页</span>
                            </a>
                        </li>
                        <li>
                            <a href="{:url('home/Style/Index')}">
                                <i class="icon-music-tone-alt icon text-info"></i>
                                <span class="font-bold">风格</span>
                            </a>
                        </li>
                        <li>
                            <a href="{:url('home/Random/Index')}">
                                <i class="icon-drawer icon text-primary-lter"></i>
                                <b class="badge bg-primary pull-right">6</b>
                                <span class="font-bold">事件</span>
                            </a>
                        </li>
                        <li>
                            <a href="{:url('home/Listen/Index')}">
                                <i class="icon-list icon  text-info-dker"></i>
                                <span class="font-bold">听</span>
                            </a>
                        </li>
                        <li>
                            <a href="{:url('home/Video/Index')}" data-target="#content" data-el="#bjax-el" data-replace="true">
                                <i class="icon-social-youtube icon  text-primary"></i>
                                <span class="font-bold">所有歌单</span>
                            </a>
                        </li>
                        <li class="m-b hidden-nav-xs"></li>
                    </ul>
                    <ul class="nav" data-ride="collapse">
                        <li >
                            <a href="#" class="auto">
                        <span class="pull-right text-muted">
                          <i class="fa fa-angle-left text"></i>
                          <i class="fa fa-angle-down text-active"></i>
                        </span>
                                <i class="icon-grid icon">
                                </i>
                                <span>个人中心</span>
                            </a>
                            <ul class="nav dk text-sm">
                                <li >
                                    <a href="{:url('home/User/Friend')}" class="auto">
                                        <i class="fa fa-angle-right text-xs"></i>

                                        <span>好友列表</span>
                                    </a>
                                </li>
                                <li >
                                    <a href="{:url('home/User/Zone')}" class="auto">
                                        <i class="fa fa-angle-right text-xs"></i>

                                        <span>朋友圈</span>
                                    </a>
                                </li>
                                <li >
                                    <a href="{:url('home/Login/Index')}" class="auto">
                                        <i class="fa fa-angle-right text-xs"></i>

                                        <span>登陆</span>
                                    </a>
                                </li>
                                <li >
                                    <a href="{:url('home/Sign/Index')}" class="auto">
                                        <i class="fa fa-angle-right text-xs"></i>
                                        <span>注册</span>
                                    </a>
                                </li>
                                <li >
                                    <a href="404.html" class="auto">
                                        <i class="fa fa-angle-right text-xs"></i>

                                        <span>404</span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </nav>
              <!-- / nav -->
            </div>
          </section>



          <footer class="footer hidden-xs no-padder text-center-nav-xs">
            <div class="bg hidden-xs ">
              <div class="dropdown dropup wrapper-sm clearfix">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                      <span class="thumb-sm avatar pull-left m-l-xs">
                        <img src="/static/home/images/a3.png" class="dker" alt="...">
                        <i class="on b-black"></i>
                      </span>
                  <span class="hidden-nav-xs clear">
                        <span class="block m-l">
                          <strong class="font-bold text-lt">John.Smith</strong>
                          <b class="caret"></b>
                        </span>
                        <span class="text-muted text-xs block m-l">Art Director</span>
                      </span>
                </a>
                <ul class="dropdown-menu animated fadeInRight aside text-left">
                  <li>
                    <span class="arrow bottom hidden-nav-xs"></span>
                    <a href="#">Settings</a>
                  </li>
                  <li>
                    <a href="{:url('home/User/Friend')}">好友列表</a>
                  </li>
                  <li>
                    <a href="#">
                      <span class="badge bg-danger pull-right">3</span>
                      Notifications
                    </a>
                  </li>
                  <li>
                    <a href="docs.html">Help</a>
                  </li>
                  <li class="divider"></li>
                  <li>
                    <a href="modal.lockme.html" data-toggle="ajaxModal" >Logout</a>
                  </li>
                </ul>
              </div>
            </div>            </footer>
        </section>
      </aside>
      <!-- /.aside -->

      {block name="zhongjian"}
      <section id="content">
        <section class="hbox stretch">
          <section>
            <section class="vbox">

              <section class="scrollable padder-lg w-f-md" id="bjax-target">
                <a href="#" class="pull-right text-muted m-t-lg" data-toggle="class:fa-spin" ><i class="icon-refresh i-lg  inline" id="refresh"></i></a>
                <h2 class="font-thin m-b">{$list.title}<span class="musicbar animate inline m-l-sm" style="width:20px;height:20px">
                    <span class="bar1 a1 bg-primary lter"></span>
                    <span class="bar2 a2 bg-info lt"></span>
                    <span class="bar3 a3 bg-success"></span>
                    <span class="bar4 a4 bg-warning dk"></span>
                    <span class="bar5 a5 bg-danger dker"></span>
                    </span>
                </h2>

                <input type="text" id="myid" value="{$list.id}" hidden>
                <!--遍历歌单中的歌曲-->
                <div id="mylist" class="row row-sm">



                </div>









                </div>

                </div>
                <div class="row m-t-lg m-b-lg">
                  <div class="col-sm-6">
                    <div class="bg-primary wrapper-md r">
                      <a href="#">
                        <span class="h4 m-b-xs block"><i class=" icon-user-follow i-lg"></i> Login or Create account</span>
                        <span class="text-muted">Save and share your playlist with your friends when you log in or create an account.</span>
                      </a>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="bg-black wrapper-md r">
                      <a href="#">
                        <span class="h4 m-b-xs block"><i class="icon-cloud-download i-lg"></i> Download our app</span>
                        <span class="text-muted">Get the apps for desktop and mobile to start listening music at anywhere and anytime.</span>
                      </a>
                    </div>
                  </div>
                </div>
              </section>
              {/block}

              <footer class="footer bg-dark">
                <div id="jp_container_N">
                  <div class="jp-type-playlist">
                    <div id="jplayer_N" class="jp-jplayer hide"></div>
                    <div class="jp-gui">
                      <div class="jp-video-play hide">
                        <a class="jp-video-play-icon">play</a>
                      </div>
                      <div class="jp-interface">
                        <div class="jp-controls">
                          <div><a class="jp-previous"><i class="icon-control-rewind i-lg"></i></a></div>
                          <div>
                            <a class="jp-play"><i class="icon-control-play i-2x"></i></a>
                            <a class="jp-pause hid"><i class="icon-control-pause i-2x"></i></a>
                          </div>
                          <div><a class="jp-next"><i class="icon-control-forward i-lg"></i></a></div>
                          <div class="hide"><a class="jp-stop"><i class="fa fa-stop"></i></a></div>
                          <div><a class="" data-toggle="dropdown" data-target="#playlist"><i class="icon-list"></i></a></div>
                          <div class="jp-progress hidden-xs">
                            <div class="jp-seek-bar dk">
                              <div class="jp-play-bar bg-info">
                              </div>
                              <div class="jp-title text-lt">
                                <ul>
                                  <li></li>
                                </ul>
                              </div>
                            </div>
                          </div>
                          <div class="hidden-xs hidden-sm jp-current-time text-xs text-muted"></div>
                          <div class="hidden-xs hidden-sm jp-duration text-xs text-muted"></div>
                          <div class="hidden-xs hidden-sm">
                            <a class="jp-mute" title="mute"><i class="icon-volume-2"></i></a>
                            <a class="jp-unmute hid" title="unmute"><i class="icon-volume-off"></i></a>
                          </div>
                          <div class="hidden-xs hidden-sm jp-volume">
                            <div class="jp-volume-bar dk">
                              <div class="jp-volume-bar-value lter"></div>
                            </div>
                          </div>
                          <div>
                            <a class="jp-shuffle" title="shuffle"><i class="icon-shuffle text-muted"></i></a>
                            <a class="jp-shuffle-off hid" title="shuffle off"><i class="icon-shuffle text-lt"></i></a>
                          </div>
                          <div>
                            <a class="jp-repeat" title="repeat"><i class="icon-loop text-muted"></i></a>
                            <a class="jp-repeat-off hid" title="repeat off"><i class="icon-loop text-lt"></i></a>
                          </div>
                          <div class="hide">
                            <a class="jp-full-screen" title="full screen"><i class="fa fa-expand"></i></a>
                            <a class="jp-restore-screen" title="restore screen"><i class="fa fa-compress text-lt"></i></a>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="jp-playlist dropup" id="playlist">
                      <ul class="dropdown-menu aside-xl dker">
                        <!-- The method Playlist.displayPlaylist() uses this unordered list -->
                        <li class="list-group-item"></li>
                      </ul>
                    </div>
                    <div class="jp-no-solution hide">
                      <span>Update Required</span>
                      To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
                    </div>
                  </div>
                </div>
              </footer>
            </section>
          </section>
          <!-- side content -->
          <aside class="aside-md bg-light dk" id="sidebar">
            <section class="vbox animated fadeInRight">

              <footer class="footer footer-md bg-black">
                <form class="" role="search">
                  <div class="form-group clearfix m-b-none">
                    <div class="input-group m-t m-b">
                        <span class="input-group-btn">
                          <button type="submit" class="btn btn-sm bg-empty text-muted btn-icon"><i class="fa fa-search"></i></button>
                        </span>
                      <input type="text" class="form-control input-sm text-white bg-empty b-b b-dark no-border" placeholder="Search members">
                    </div>
                  </div>
                </form>
              </footer>
            </section>
          </aside>
          <!-- / side content -->
        </section>
        <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen,open" data-target="#nav,html"></a>
      </section>
    </section>
  </section>
</section>
<script src="/static/home/js/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="/static/home/js/bootstrap.js"></script>
<!-- App -->
<script src="/static/home/js/app.js"></script>
<script src="/static/home/js/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/static/home/js/app.plugin.js"></script>
<script type="text/javascript" src="/static/home/js/jPlayer/jquery.jplayer.min.js"></script>
<script type="text/javascript" src="/static/home/js/jPlayer/add-on/jplayer.playlist.min.js"></script>
<script type="text/javascript" src="/static/home/js/jPlayer/demo.js"></script>

<script>

    // 获取歌单歌曲
    var id = $("#myid").val();
    $.ajax({
        type: "POST",
        url: 'https://api.bzqll.com/music/netease/songList?key=579621905&id='+ $("#myid").val() +'&limit=100&offset=0',
        dataType: 'json',
        success: function(result){
            var songs=result.data.songs;


            var list="";

            for(var i in songs) {
                var b = songs[i].id;
                var a = "{:url('home/Listen/Music',array('id'=>'b'))}";
                var c = a.replace('b',b);
                list+=`
                      <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2">
                      <div class="item">
                        <div class="pos-rlt">
                          <div class="bottom">
                            <span class="badge bg-info m-l-sm m-b-sm"></span>
                          </div>
                          <div class="item-overlay opacity r r-2x bg-black">
                            <div class="text-info padder m-t-sm text-sm">
                              <i class="fa fa-star"></i>
                              <i class="fa fa-star"></i>
                              <i class="fa fa-star"></i>
                              <i class="fa fa-star"></i>
                              <i class="fa fa-star-o text-muted"></i>
                            </div>
                            <div class="center text-center m-t-n">
                              <a href="#"><i class="icon-control-play i-2x"></i></a>
                            </div>
                            <div class="bottom padder m-b-sm">
                              <a href="${c}" class="pull-right">
                                <i class="icon-arrow-right"></i>
                              </a>
                              <a href="#">
                              <i class="fa fa-plus-circle"></i>

                              </a>
                            </div>
                          </div>
                          <a href="#"><img src="${songs[i].pic}" alt="" class="r r-2x img-full" style="width: 133.33px;height: 133.33px"></a>
                        </div>
                        <div class="padder-v">
                          <a href="#" class="text-ellipsis">${songs[i].name}</a>
                          <a href="#" class="text-ellipsis text-xs text-muted">${songs[i].singer}</a>
                        </div>
                      </div>
                    </div>
                  `
            }
            $("#mylist").html(list);
        }
    });
</script>


{/block}
</body>
</html>